<?php
namespace App\Goods\Dto;

use Mine\Interfaces\MineModelExcel;
use Mine\Annotation\ExcelData;
use Mine\Annotation\ExcelProperty;

/**
 * 商品列表Dto （导入导出）
 */
#[ExcelData]
class GoodsInfoDto implements MineModelExcel
{
    #[ExcelProperty(value: "商品ID", index: 0)]
    public string $goods_id;

    #[ExcelProperty(value: "商品类型(10实物商品)", index: 1)]
    public string $goods_type;

    #[ExcelProperty(value: "商品名称", index: 2)]
    public string $goods_name;

    #[ExcelProperty(value: "商品编码", index: 3)]
    public string $goods_no;

    #[ExcelProperty(value: "主图视频ID", index: 4)]
    public string $video_id;

    #[ExcelProperty(value: "主图视频ID", index: 5)]
    public string $video_cover_id;

    #[ExcelProperty(value: "商品卖点", index: 6)]
    public string $selling_point;

    #[ExcelProperty(value: "商品规格(10单规格 20多规格)", index: 7)]
    public string $spec_type;

    #[ExcelProperty(value: "商品价格(最低)", index: 8)]
    public string $goods_price_min;

    #[ExcelProperty(value: "商品价格(最高)", index: 9)]
    public string $goods_price_max;

    #[ExcelProperty(value: "划线价格(最低)", index: 10)]
    public string $line_price_min;

    #[ExcelProperty(value: "划线价格(最高)", index: 11)]
    public string $line_price_max;

    #[ExcelProperty(value: "库存总量(包含所有sku)", index: 12)]
    public string $stock_total;

    #[ExcelProperty(value: "库存计算方式(10下单减库存 20付款减库存)", index: 13)]
    public string $deduct_stock_type;

    #[ExcelProperty(value: "是否开启限购(0未开启 1已开启)", index: 14)]
    public string $is_restrict;

    #[ExcelProperty(value: "总限购数量(0为不限制)", index: 15)]
    public string $restrict_total;

    #[ExcelProperty(value: "每单限购数量(0为不限制)", index: 16)]
    public string $restrict_single;

    #[ExcelProperty(value: "商品详情", index: 17)]
    public string $content;

    #[ExcelProperty(value: "初始销量", index: 18)]
    public string $sales_initial;

    #[ExcelProperty(value: "实际销量", index: 19)]
    public string $sales_actual;

    #[ExcelProperty(value: "配送模板ID", index: 20)]
    public string $delivery_id;

    #[ExcelProperty(value: "是否开启积分赠送(1开启 0关闭)", index: 21)]
    public string $is_points_gift;

    #[ExcelProperty(value: "是否允许使用积分抵扣(1允许 0不允许)", index: 22)]
    public string $is_points_discount;

    #[ExcelProperty(value: "积分抵扣设置(0默认抵扣 1单独设置抵扣)", index: 23)]
    public string $is_alone_points_discount;

    #[ExcelProperty(value: "单独设置积分抵扣的配置", index: 24)]
    public string $points_discount_config;

    #[ExcelProperty(value: "是否开启会员折扣(1开启 0关闭)", index: 25)]
    public string $is_enable_grade;

    #[ExcelProperty(value: "会员折扣设置(0默认等级折扣 1单独设置折扣)", index: 26)]
    public string $is_alone_grade;

    #[ExcelProperty(value: "单独设置折扣的配置", index: 27)]
    public string $alone_grade_equity;

    #[ExcelProperty(value: "是否单独设置配送方式(0关闭 1开启)", index: 28)]
    public string $is_ind_delivery_type;

    #[ExcelProperty(value: "商品配送方式(仅单独设置时有效)", index: 29)]
    public string $delivery_type;

    #[ExcelProperty(value: "商品状态(10上架 20下架)", index: 30)]
    public string $status;

    #[ExcelProperty(value: "排序(数字越小越靠前)", index: 31)]
    public string $sort;

    #[ExcelProperty(value: "是否删除", index: 32)]
    public string $is_delete;

    #[ExcelProperty(value: "商城ID", index: 33)]
    public string $store_id;

    #[ExcelProperty(value: "创建时间", index: 34)]
    public string $create_time;

    #[ExcelProperty(value: "更新时间", index: 35)]
    public string $update_time;


}